﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true"
    Codebehind="Default.aspx.cs" Inherits="FrameWork.web.Module.ITMS.KnowledgeBase.KBQuery.Default"
    Title="知识库" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
         HeadOPTxt="知识库列表" HeadTitleTxt="知识库">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonPopedom="New" ButtonUrl="Manager.aspx?CMD=New"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="知识库" />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="知识库列表">
            <asp:GridView ID="GridView1" runat="server">
                <Columns>                    
                    <asp:HyperLinkField HeaderText="自动ID" DataTextField="UID" DataNavigateUrlFields="UID"
                        DataNavigateUrlFormatString="Manager.aspx?IDX={0}&amp;CMD=List" Visible="False" />                    
                    <asp:BoundField HeaderText="类型ID" DataField="KID" Visible="False" />                    
                    <asp:BoundField HeaderText="状态(1:普通)" DataField="Status" Visible="False" /> 
                    <asp:HyperLinkField HeaderText="主题" DataTextField="Subject" DataNavigateUrlFields="UID"
                        DataNavigateUrlFormatString="Manager.aspx?IDX={0}&amp;CMD=List" >
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:HyperLinkField>                      
                    <asp:TemplateField HeaderText="内容信息">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Content") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("Content") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:TemplateField>
                    <asp:BoundField HeaderText="关键字" DataField="KeyWord" />                    
                    <asp:BoundField DataField="K_Name" HeaderText="类别" >
                        <ItemStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField HeaderText="附件" DataField="Attachment" Visible="False" />                    
                    <asp:BoundField HeaderText="服务单号" DataField="DocNo" Visible="False" />                    
                    <asp:BoundField HeaderText="整理人ID" DataField="UserID" Visible="False" />                    
                    <asp:BoundField HeaderText="整理人姓名" DataField="UserName" Visible="False" />                    
                    <asp:BoundField HeaderText="整理日期" DataField="CollateDAT" Visible="False" />
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </FrameWorkWebControls:AspNetPager>
        </FrameWorkWebControls:TabOptionItem>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">                
                <tr>
                    <td class="table_body table_body_NoWidth" style="width:15%;">
                        </td>
                    <td class="table_none table_none_NoWidth" style="width:85%;">
                        <asp:CheckBox ID="CheckBox1" runat="server" Text="全部知识库信息" ToolTip="默认为所选知识库类别搜索"
                            Width="107px" /></td>
                </tr>       
                <tr>
                    <td class="table_body table_body_NoWidth" style="height: 30px">
                        主题</td>
                    <td class="table_none table_none_NoWidth" style="height: 30px">
                        <asp:TextBox ID="txtSubject" title="请输入主题~200:" runat="server" CssClass="text_input" Width="278px"></asp:TextBox></td>
                </tr> 
                <tr>
                    <td class="table_body table_body_NoWidth">
                        关键字</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtKeyWord" title="请输入~50:" runat="server" CssClass="text_input" Width="277px"></asp:TextBox></td>
                </tr>                  
                <tr>
                    <td class="table_body table_body_NoWidth">
                        内容信息</td>
                    <td class="table_none table_none_NoWidth">
                        <asp:TextBox ID="txtContent" title="请输入内容简述~200:" runat="server" CssClass="text_input" Width="277px"></asp:TextBox></td>
                </tr>                
                <tr>
                    <td colspan="4" align="right">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="查询" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
            <div style="visibility: hidden; width: 471px; height: 52px">
                        <asp:TextBox ID="Status" title="请输入状态(1:普通)~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="Attachment" title="请输入附件~255:" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="UserName" title="请输入整理人姓名~20:" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="DocNo" title="请输入服务单号~20:" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="UserID" title="请输入整理人ID~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="CollateDAT" title="请输入整理日期~date" runat="server" CssClass="text_input"></asp:TextBox>
                        <asp:TextBox ID="txtKID" title="请输入类型ID~2147483648:int" runat="server" CssClass="text_input"></asp:TextBox></div>
</asp:Content>
